import java.util.Scanner;

// 注意类名必须为 Main, 不要有任何 package xxx 信息
public class code3 {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        long x = in.nextLong();
        int[] arr = new int[20];
        int k=0,sum=0;
        while(x!=0) {
            int t =(int) (x%10);
            arr[k++] = t;
            sum += t;
            x /= 10;
        }
        if(sum%2==1) System.out.print("No");
        else {
            sum/=2;
            boolean[] dp = new boolean[sum+1];
            dp[0] = true;
            for(int i=0;i<k;i++) {
                for(int j=sum;j>=arr[i];j--) {
                    dp[j] = dp[j] || dp[j-arr[i]];
                }
            }
            if(dp[sum]) System.out.print("Yes");
            else System.out.print("No");
        }
    }
}